#include "ClientRequest.hpp"

using namespace BFT::messages;

ClientRequest::ClientRequest(uint32_t _sender, boost::shared_ptr<RequestCore> _pay, bool _b)
	:Request::Request((uint16_t)CLIENT_REQUEST, _sender, _pay, _b)
	{
	}

ClientRequest::ClientRequest(uint32_t _sender, boost::shared_ptr<RequestCore> _pay)
	:Request::Request((uint16_t)CLIENT_REQUEST, _sender, _pay)
	{
	}
	
ClientRequest::ClientRequest(boost::shared_ptr<char> _buffer, uint32_t _buffer_length)
	:Request::Request(_buffer, _buffer_length)
	{
//		fprintf(stdout,"clientreq constructor has been called. buffer_length:%d\n",_buffer_length);
	}

void ClientRequest::printInfo()
{
	Request::printInfo();
	fprintf(stdout,"ClientRequest Information: \n");
	fprintf(stdout,"... nothing to add\n");
}

